﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L2
{
    class NPCBlacksmith : NPC
    {
        public string xb;
        public string Xb { get { return this.xb; } set { this.xb = value; } }
        public NPCBlacksmith() { }
        public NPCBlacksmith(string Name, string Type, string Xb)
        {
            this.name = Name;
            this.type = Type;
            this.xb = Xb;
        }
        public override void Speak()
        {
            Console.WriteLine("你好，我的名字是{0},我的类型是{1},我可以帮你{2},请问你需要吗？", this.name, this.type,this.xb);
            
        }
    }
}
